package com.example.teachingevaluationsystem.mapper;

import com.example.teachingevaluationsystem.entity.Evaluate;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.teachingevaluationsystem.vo.ScoreVo;
import com.example.teachingevaluationsystem.vo.ScoringData;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * 评价 Mapper 接口
 * </p>
 *
 * @author lp
 * @since 2022-03-28
 */
@Mapper
public interface EvaluateMapper extends BaseMapper<Evaluate> {

    List<ScoreVo> selectScoreVo(Long id, Long planId, Long courseId);

    List<ScoreVo> selectScoreVoByTeacher(Long id,Long planId,Long courseId);

   List<ScoringData>  selectScoringData(Long id,Long planId,Long courseId);
}
